package com.iring.domain.common;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 设备信息与用户信息实体
 *
 * @author wanggan
 */
@Entity
@Table(name = "t_device_trunk_info_b")
public class DeviceTrunk implements Serializable {

    private static final long serialVersionUID = -2061082711917995825L;
    @Id
    @GeneratedValue
    @Column(name = "id")
    private Integer id;

    @Column(name = "mac")
    private String mac;

    @Column(name = "iringtel_username")
    private String username;

    @Column(name = "iringtel_num")
    private String iringnumber;

    @Column(name = "iringtel_num_password")
    private String iringpassword;

    @Column(name = "remark")
    private String remark;

    @Column(name = "create_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;

    @Column(name = "update_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public String getMac() {
        return mac;
    }

    public String getUsername() {
        return username;
    }

    public String getIringnumber() {
        return iringnumber;
    }

    public String getIringpassword() {
        return iringpassword;
    }

    public String getRemark() {
        return remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setIringnumber(String iringnumber) {
        this.iringnumber = iringnumber;
    }

    public void setIringpassword(String iringpassword) {
        this.iringpassword = iringpassword;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
